-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add args to nginx redirect map. #129 #130
base: main
Are you sure you want to change the base?
Conversation
so after looking at this closer, it seems that this will break this:
basically the so I think this PR would break Backwards-Compatibility.
so that people that want to use this, can add their redirects with args to |
@Schnitzel that solution would definitely work for us too, having 2 separate maps |
Having the separate args-map would require it to be included into the repo and copied into the image as per Can you duplicate https://github.com/uselagoon/lagoon-images/blob/main/images/nginx/redirects-map.conf with a couple of examples? |
@tobybellwood all done - map hierarchy @ nginx.conf might need some more testing |
helper still needed |
… into add-redirect-args
If I understand this PR correctly, this is about enabling Nginx to have a map file built in that would allow redirecting based not only on host and URI, but query parameters as well. 99% of the redirects I do in Nginx are not based on query params, but I can see the possibility where this would be useful I guess (e.g. legacy site migration that uses query params to Lagoon). What I would like to see
Questions
|
No description provided.